package net.diaowen.dwsurvey.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import net.diaowen.common.base.entity.IdEntity;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 报表描述表
 * @author keyuan(keyuan258@gmail.com)
 * @date 2012-10-21下午9:26:43
 *
 * https://github.com/wkeyuan/DWSurvey
 * http://dwsurvey.net
 */

@Entity
@Table(name="t_report_desc")
public class ReportDesc extends IdEntity{


	/**
	 * 报表编号
	 */

	private String reportNumber;
	/**
	 * 报表名称
	 */

	private String name;
	/**
	 * 报表中文名
	 */

	private String chineseName;
	/**
	 * 报表英文名
	 */
	private String englishName;
	/**
	 * 报表类型
	 */
	private Integer type;
	/**
	 * 报表类别
	 */
	private Integer category;
	/**
	 * 报表列
	 */
	private String reportColumn;


	public ReportDesc(){

	}

	public String getReportNumber() {
		return reportNumber;
	}

	public void setReportNumber(String reportNumber) {
		this.reportNumber = reportNumber;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getChineseName() {
		return chineseName;
	}

	public void setChineseName(String chineseName) {
		this.chineseName = chineseName;
	}

	public String getEnglishName() {
		return englishName;
	}

	public void setEnglishName(String englishName) {
		this.englishName = englishName;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getCategory() {
		return category;
	}

	public void setCategory(Integer category) {
		this.category = category;
	}

	public String getReportColumn() {
		return reportColumn;
	}

	public void setReportColumn(String reportColumn) {
		this.reportColumn = reportColumn;
	}

	public ReportDesc(String reportNumber, String name, String chineseName,
					  String englishName, Integer type, Integer category, String reportColumn) {
		this.reportNumber=reportNumber;
		this.name=name;
		this.chineseName=chineseName;

		this.englishName=englishName;
		this.type=type;
		this.category=category;
		this.reportColumn=reportColumn;
		this.type=type;
	}



}
